package com.sam.im.heiqun.entities;
// Generated 2017-1-8 17:58:52 by Hibernate Tools 4.3.5.Final

import com.google.gson.annotations.Expose;
import com.orm.SugarRecord;

public class ImGroupEntivity extends SugarRecord implements java.io.Serializable {
    @Expose
    private String name;
    @Expose
    private String descriptions;//群介绍
    @Expose
    private String detail;
    @Expose
    private String markName;//我在群里的昵称;mark_name
    @Expose
    private Integer type;//后台接口已删除
    @Expose
    private String headUrl;
    @Expose
    private Long createrId;
    @Expose
    private Long createTime;
    @Expose
    private Integer status;//后台接口已删除
    @Expose
    private Integer receiveTip;//免打扰
    @Expose
    private Long currentid;//对应的用户id
    @Expose
    private String question;//
    @Expose
    private String answer;//
    @Expose
    private String joinStatus = "0";//
    @Expose
    private String fee = "0";//
    @Expose
    private String days = "0";//

    /*"
                "role":"3",
                "level":"0",
                "expire":"0",
                "id":"2636",
                "bgurl":""
                */
    @Expose
    private String level = "0";//
    @Expose
    private String expire = "0";//到期时间
    @Expose
    private String favorite;//是否收藏
    @Expose
    private String silence;//获取有没有禁言
    @Expose
    private String silenceP;//是否群体禁言

    @Expose
    private String isshowname;//是否显示群昵称

    @Expose
    private String groupExpire="0";//群到期升级后跟群成员续费后到期时间


    //private boolean isshowname = false;//是否显示群名称

    private boolean ControlPicture;//控制图片

    public ImGroupEntivity() {
    }

    public ImGroupEntivity(String name, String descriptions, String detail, Integer type, String headUrl, Long createrId,
                           Long createTime, Integer status, String joinStatus,String groupExpire) {
        this.name = name;
        this.descriptions = descriptions;
        this.detail = detail;
        this.type = type;
        this.headUrl = headUrl;
        this.createrId = createrId;
        this.createTime = createTime;
        this.status = status;
        this.joinStatus = "0";//默认所有人可加群

    }

    public ImGroupEntivity(String name, String descriptions, String detail, Integer type, String headUrl, Long createrId,
                           Long createTime, Integer status, String question, String answer, String joinStatus, String fee,String days,String isshowname,String groupExpire) {
        this.name = name;
        this.descriptions = descriptions;
        this.detail = detail;
        this.type = type;
        this.headUrl = headUrl;
        this.createrId = createrId;
        this.createTime = createTime;
        this.status = status;
        this.question = question;
        this.answer = answer;
        this.joinStatus = joinStatus;
        this.fee = fee;
        this.days = days;
        this.isshowname = isshowname;
        this.groupExpire = groupExpire;
    }

    @Override
    public String toString() {
        return "ImGroupEntivity{" +
                "name='" + name + '\'' +
                ", descriptions='" + descriptions + '\'' +
                ", detail='" + detail + '\'' +
                ", markName='" + markName + '\'' +
                ", type=" + type +
                ", headUrl='" + headUrl + '\'' +
                ", createrId=" + createrId +
                ", createTime=" + createTime +
                ", status=" + status +
                ", receiveTip=" + receiveTip +
                ", currentid=" + currentid +
                ", joinStatus=" + joinStatus +
                ", groupExpire=" + groupExpire +
                '}';
    }
    public String getGroupExpire() {
        return groupExpire;
    }

    public void setGroupExpire(String groupExpire) {
        this.groupExpire = groupExpire;
    }

    public String getIsshowname() {
        return isshowname;
    }


    public void setIsshowname(String isshowname) {
        this.isshowname = isshowname;
    }


    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getExpire() {
        return expire;
    }

    public void setExpire(String expire) {
        this.expire = expire;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getDays() {
        return days;
    }
    public void setDays(String days) {
        this.days = days;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getJoinStatus() {
        return joinStatus;
    }

    public void setJoinStatus(String joinStatus) {
        this.joinStatus = joinStatus;
    }

    /*public boolean isshowname() {
        return isshowname;
    }

    public void setIsshowname(boolean isshowname) {
        this.isshowname = isshowname;
    }*/

    public Integer getReceiveTip() {
        return receiveTip;
    }

    public void setReceiveTip(Integer receiveTip) {
        this.receiveTip = receiveTip;
    }

    public String getMarkName() {
        return markName;
    }

    public void setMarkName(String markName) {
        this.markName = markName;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescriptions() {
        return this.descriptions;
    }

    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions;
    }

    public String getDetail() {
        return this.detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getHeadUrl() {
        return this.headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public Long getCreaterId() {
        return this.createrId;
    }

    public void setCreaterId(Long createrId) {
        this.createrId = createrId;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCurrentid() {
        return currentid;
    }

    public void setCurrentid(Long currentid) {
        this.currentid = currentid;
    }

    public String getFavorite() {
        return favorite;
    }

    public void setFavorite(String favorite) {
        this.favorite = favorite;
    }

    public String getSilence() {
        return silence;
    }

    public void setSilence(String silence) {
        this.silence = silence;
    }


    public String getSilenceP() {
        return silenceP;
    }

    public void setSilenceP(String silenceP) {
        this.silenceP = silenceP;
    }


}
